Anatomy of a function
Anatomy of a Function Definition

Required Form of a Function Definition
All functions must have each of the following elements:
- the keyword
function
- a variable name for storing the return value
- an equal sign
- the name of the function
- an open parenthesis
- an argument list (multiple inputs are separated by commas)
- a close parenthesis
- some comments (recommended)
- a return value calculation
This lesson has no examples or exercises, please continue with the next lesson.